import apron.Box;
import apron.Manager;
import apron.Octagon;

/**
 * creates a new manager according to the selected option
 * 
 */
public class ManagerFactory {

	private static boolean isBox = false;

	public static void setBox() {
		isBox = true;
	}

	public static void setOctagon() {
		isBox = false;
	}

	public static Manager newManager() {
		return isBox ? new Box() : new Octagon();
	}

}
